package com.twu.biblioteca;

public class Movie implements Borrowable {
    private String id;
    private String name;
    private String year;
    private String director;
    private int movieRating;
    private String borrowerID;

    public Movie(String id, String name, String year, String director, int movieRating) {
        this.id = id;
        this.name = name;
        this.year = year;
        this.director = director;
        this.movieRating = movieRating;
        this.borrowerID="";
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public void setId(String id) {
        this.id = id;
    }

    @Override
    public void setBorrowerID(String borrowerID) {
        this.borrowerID = borrowerID;
    }

    @Override
    public String getBorrowerID() {
        return borrowerID;
    }

    public int getMovieRating() {
        return movieRating;
    }

    public void setMovieRating(int movieRating) {
        this.movieRating = movieRating;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }
}